﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true"
    CodeFile="TraBidPlnaGoods.aspx.cs" Inherits="Bidder_TraBidPlanGoods" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript">
    
      //  window.alert("11");
        function SelectAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = true; 
            }           
        }
        function ClearAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = false; 
            }           
        }
        function CheckOthers()
        {
            var i;
            var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
            
                if(a[i].checked!=true)
                {
                    a[i].checked =true ; 
                }
                else
                {   
                    a[i].checked = false; 
                }
            }           
            
        }
    </script>

    <div>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 4px">
                    <img src="../images/intro_left.gif" width="4" height="34"></td>
                <td class="intro_wordbg">
                    采购药品确认</td>
                <td background="../images/intro_bg.gif">
                    <img src="../images/intro_right.jpg" width="118" height="34"></td>
            </tr>
        </table>
        <table id="tabData" width="98%" border="1" align="center" cellpadding="2" cellspacing="1">
            <tr>
                <td align="right" style="height: 30px">
                    &nbsp;通用名：</td>
                <td style="width: 158px; height: 30px;">
                    <asp:TextBox ID="txtProductName" runat="server" InvertedComma="通用名" Width="125px"></asp:TextBox></td>
                <td align="right" style="height: 30px">
                    剂型：</td>
                <td style="height: 30px">
                    <asp:TextBox ID="txtMedicinemodel" runat="server" InvertedComma="剂 型" Width="125px"></asp:TextBox></td>
                <td align="right" style="height: 30px">
                    规格：</td>
                <td style="height: 30px">
                    <asp:TextBox ID="txtOutlook" runat="server" InvertedComma="规 格" Width="125px"></asp:TextBox>&nbsp;
                </td>
            </tr>
            <tr>
                <td align="right">
                    药品流水号：</td>
                <td style="width: 158px">
                    <asp:TextBox ID="txtGoodsId" runat="server" InvertedComma="流水号" NumericOnly="流水号"
                        Width="125px"></asp:TextBox></td>
                <td align="right">
                    商品名：</td>
                <td>
                    <asp:TextBox ID="txtGoodsName" runat="server" InvertedComma="商品名" Width="125px"></asp:TextBox></td>
                <td align="right">
                    处理状态：
                </td>
                <td>
                    <asp:DropDownList ID="listDealStatus" runat="server" Width="125px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td align="right" style="height: 28px">
                    生产企业名称：</td>
                <td style="height: 28px">
                    <asp:TextBox ID="txtCompanyNameSC" runat="server" InvertedComma="生产企业" Width="149px"></asp:TextBox>&nbsp;
                </td>
                <td align="right" style="height: 28px">
                    生产企业注册号：</td>
                <td style="height: 28px">
                    <asp:TextBox ID="txtUserCodeSC" runat="server" InvertedComma="企业编码" Width="125px"></asp:TextBox></td>
                <td align="right">
                    &nbsp;&nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" style="height: 28px">
                    医院名称：</td>
                <td style="height: 28px">
                    <asp:TextBox ID="TextHospital" runat="server" Width="148px"></asp:TextBox></td>
                <td align="right" style="height: 28px">
                    医院注册号：</td>
                <td style="height: 28px">
                    <asp:TextBox ID="TextHospitalcode" runat="server" Width="126px"></asp:TextBox></td>
                <td align="right">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="Button5" runat="server" Text="查 询" CssClass="button_bg" OnClientClick="javascript:return CheckForm();"
                        Width="61px" /></td>
            </tr>
        </table>
        <table>
            <tr>
                <td style="height: 22px">
                    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
                </td>
                <td style="height: 22px">
                    <input id="but1" type="button" class="button_bg4" value="全选" onclick="javascript:SelectAll();"
                        style="width: 71px" /></td>
                <td style="height: 22px; width: 49px;">
                    <input id="but2" type="button" class="button_bg4" value="清空" onclick="javascript:ClearAll();"
                        style="width: 71px" /></td>
                <td style="height: 22px">
                    <input id="but3" type="button" class="button_bg4" value="反选" onclick="javascript:CheckOthers();"
                        style="width: 71px" /></td>
                <td style="height: 22px">
                    <input id="Submit1" name="submitSave" type="submit" value="确定配送" class="button_bg6"
                        onclientclick="javascript:return CheckForm();" style="width: 89px" /><input id="Hidden1" name="hidproduct"     type="hidden" />
                </td>
            </tr>
        </table>
        <asp:Label ID="Lablist" runat="server"></asp:Label>
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView>
    </div>
</asp:Content>
